import 'package:go_router/go_router.dart';
import 'package:shouyin_app/common/base/base.dart';
import 'package:shouyin_app/pages/put_order/put_order.dart';

class PutOrderView extends StatelessWidget {
  const PutOrderView({super.key});

  @override
  Widget build(BuildContext context) {
    return GetBuilder<PutOrderController>(
      init: PutOrderController(),
      builder: (controller) => Container(
        color: Colors.transparent,
        child: Row(
          children: [
            Container(
              width: 200,
              color: Colors.transparent,
            ),
            Expanded(
              child: Container(
                color: Colors.red,
                child: Column(
                  children: [
                    Padding(padding: EdgeInsets.symmetric(vertical: 50)),
                    TextButton(onPressed: () {
                      context.pop();
                    }, child: Text('关闭')),
                    Container(
                      width: 200,
                      color: Colors.red,
                    ),
                    TextButton(onPressed: () {
                      controller.goChooseTablePage(context);
                    }, child: Text('选择台桌')),
                  ],
                ),
              ),
            ),
          ],
        ),
      ),
    );
  }


}
